package com.zhihao.zhihaopicturebackend.model.dto.picture;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
 * @author Jackson
 * @create 2025/1/5 22:20
 * @description 以图搜图请求类
 */
//@ApiModel("以图搜图请求类")
@Data
public class SearchPictureByPictureRequest implements Serializable {
  
    /**  
     * 图片 id  
     */
    @ApiModelProperty(value = "图片id")
    @NotNull(message = "id 不能为空")
    @Min(value = 1, message = "id 不能为负数")
    private Long pictureId;  
  
    private static final long serialVersionUID = 1L;  
}
